const
    widgets  = require('./config/view/widgets'),
    menu = require('./config/view/menu'),
    services = require('./config/server/services'),
    lokijs = require('./config/server/lokijs');
    dynamicLoadModuleStaticDependencies = require('./config/dynamicLoadModuleStaticDependencies.json');
    dynamicLoadModuleDynamicDependencies = require('./config/dynamicLoadModuleDynamicDependencies.json');
module.exports = {
    title: '仿轻智造',
    entry: './src/common/App.vue',
    target: 'app',
    element: true,
    enableDefaultPassiveEvents: false,
    dynamicLoadModules: true,
    nodePolyfill: true,
    dynamicLoadModuleStaticDependencies,
    dynamicLoadModuleDynamicDependencies:{
    },
    view: {
        logo: 'public/images/logo.png',
        dialogs: {
            dialog: 'common/dialog/Normal.js',
            drawer: 'common/dialog/Drawer.js',
        },
        actions: {
            message: 'common/actions/message.js',
            redirect: 'common/actions/redirect.js',
            dialog: 'common/actions/dialog.js',
            confirm: 'common/actions/confirm.js',
            prompt: 'common/actions/prompt.js',
            'dialog-apply': 'common/actions/dialog/apply.js',
            'dialog-cancel': 'common/actions/dialog/cancel.js'
        },

        functions:{
        },

        routes: 'common/scripts/routes.js',
        widgets,
        menu
    },
    server:{
        services
    },
    proxy: {},
    axios: {
        default:{
            baseURL: '/services'
        }
    },
    env: {
        development: {},
        production: {}
    },
    lokijs,
    storeFolderPaths: [
        'app/stores',
        'common/stores'
    ]
};
